package com.wufun.overseas.tools.socket.entity;

/**
 * Author: hest
 * Date:  2016/4/28
 * Socket 基类
 */
public class BaseSocketEvent {
    //发送心跳信息
    public static final int TYPE_TEXT = 0;
    //发送文件信息
    public static final int TYPE_FILE = 1;
    //Socket 接收操作
    public static final int OPERATION_MODE_SEND = 0;
    //Socket 发送操作
    public static final int OPERATION_MODE_RECEIVER = 1;
    //心跳包信息
    public static final String SOCKET_HEART_BEAT = "$HB$";
    //设备型号头部
    public static final String SOCKET_DEVICE_MODLE_HEAD = "$DMH$";
    //文件压缩中
    public static final String SOCKET_SEND_ZIP = "$SSZ$";
    //发送单个Task的头部
    public static final String SOCKET_SINGLE_TASK_HEAD = "$STH$";
    //单个DownloadTask信息发送完成后需要发送文件
    public static final String SOCKET_SINGLE_TASK_YES = "$STY$";
    //单个DownloadTask信息发送完成后不需要发送文件
    public static final String SOCKET_SINGLE_TASK_NO = "$STN$";
    //单个DownloadTask信息发送完成后不需要发送文件更新完界面后
    public static final String SOCKET_NO_SEND_UPDATE_UI_OK = "$SNSUUO$";
    //发送Task列表的头部
    public static final String SOCKET_TASK_LIST_HEAD = "$TLH$";
    //正接收任务信息列表
    public static final String SOCKET_TASK_LIST_ACCEPTION = "$STLA$";
    //DownloadTask列表信息发送完成后的请求
    public static final String SOCKET_TASK_LIST_OK = "$TLO$";
    //服务端发送文件完成
    public static final String SOCKET_SERVICE_SEND_FINISH = "$SSSF$";
    //发送方sd 卡内存不足
    public static final String SOCKET_SEND_SDCARD_SIZE_LIMITE_HEAD = "$SSSSLH$";
    //接收方方sd 卡内存不足
    public static final String SOCKET_RECEIVER_SDCARD_SIZE_LIMITE_HEAD = "$SRSSLH$";
    //类型
    public int type;
}
